package net.lunar.xml.model.vo;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import lombok.Data;
import net.lunar.xml.convertor.adapter.CDATAAdapter;
import net.lunar.xml.model.vo.comm.AbstractBody;

@Data
@XmlRootElement(name="Body")
@XmlAccessorType(XmlAccessType.FIELD)
public class User extends AbstractBody {
	@XmlElement(name = "CustName")
	private String custName;
	
	@XmlElement(name = "IdType")
	private String idType;
	
	@XmlElement(name = "IdNo")
	private String idNo;
	
	@XmlElementWrapper(name = "AddressList")
	@XmlElement(name = "Address")
	private List<Address> addressList;
	
	@XmlJavaTypeAdapter(CDATAAdapter.class)
	@XmlElement(name = "Content")
	private String content;
	
	
}
